import { withInstall } from '@ibiz-template/vue3-util';
import { registerEditorProvider } from '@ibiz-template/runtime';
import { TransferPickerProvider } from './transfer-picker.provider';
import { TransferPicker } from './transfer-picker';

export const IBizTransferPicker = withInstall(TransferPicker, v => {
  v.component(TransferPicker.name!, TransferPicker);
  // 数据选择类
  registerEditorProvider(
    'PICKER_TRANSFER_PICKER',
    () => new TransferPickerProvider(),
  );
});
